home *** CD-ROM | disk | FTP | other *** search
/ Apple Macintosh Fundamentals / MacintoshFundamentals-v2-0.iso / MacFun 2.0 / MF Maint / MF Maint / card_13961.txt < prev    next >
Encoding:
Text File  |  1990-03-08  |  5.8 KB  |  245 lines

  1. -- card: 13961 from stack: in
  2. -- bmap block id: 47075
  3. -- flags: 0000
  4. -- background id: 15542
  5. -- name: two floppy backup.first
  6. ----- HyperTalk script -----
  7. on goUp
  8.   goUpTo "Backup"
  9. end goUp
  10.  
  11. on openCard
  12.   initDesktop "Documents,Backup Disk,Trash"
  13.   pass openCard
  14. end openCard
  15.  
  16. on closeCard
  17.   unHiliteCardButtons "Letter to Kate", "Resume", "Logo"
  18.   set the loc of btn "Letter to Kate" to 102,124
  19.   set the loc of btn "Resume" to 173,124
  20.   set the loc of btn "logo" to 242,125
  21.   displayText 0
  22.   pass closeCard
  23. end closeCard
  24.  
  25. on checkDest destName
  26.   if destName is "Backup Disk" then
  27.     if "Letter to Kate" is in fld "selected" and "Resume" is in fld "selected" and "Logo" is in fld "selected" then
  28.       lock screen
  29.       go to next cd
  30.       unlock screen
  31.       myAni
  32.     else
  33.       quickShow "copyMsg"
  34.     end if
  35.   else
  36.     quickShow
  37.   end if
  38. end checkDest
  39.  
  40.  
  41. -- part 28 (button)
  42. -- low flags: 00
  43. -- high flags: 0000
  44. -- rect: left=25 top=95 right=190 bottom=270
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 0 / 0
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: deselect
  53. ----- HyperTalk script -----
  54. on mouseDown
  55.   deselectList fld "selected"
  56.   put empty into fld "selected"
  57. end mouseDown
  58.  
  59.  
  60.  
  61. -- part 27 (button)
  62. -- low flags: 00
  63. -- high flags: 8000
  64. -- rect: left=420 top=223 right=274 bottom=468
  65. -- title width / last selected line: 0
  66. -- icon id / first selected line: 15737 / 15737
  67. -- text alignment: 1
  68. -- font id: 0
  69. -- text size: 12
  70. -- style flags: 0
  71. -- line height: 16
  72. -- part name: Trash
  73.  
  74.  
  75. -- part 1 (button)
  76. -- low flags: 00
  77. -- high flags: 8000
  78. -- rect: left=395 top=30 right=83 bottom=471
  79. -- title width / last selected line: 0
  80. -- icon id / first selected line: 21352 / 21352
  81. -- text alignment: 1
  82. -- font id: 0
  83. -- text size: 12
  84. -- style flags: 0
  85. -- line height: 16
  86. -- part name: Documents
  87.  
  88.  
  89. -- part 14 (button)
  90. -- low flags: 00
  91. -- high flags: 8000
  92. -- rect: left=391 top=82 right=139 bottom=475
  93. -- title width / last selected line: 0
  94. -- icon id / first selected line: 10461 / 10461
  95. -- text alignment: 1
  96. -- font id: 0
  97. -- text size: 12
  98. -- style flags: 0
  99. -- line height: 16
  100. -- part name: Backup Disk
  101. ----- HyperTalk script -----
  102. on mouseUp
  103.  
  104. end mouseUp
  105.  
  106.  
  107. -- part 2 (button)
  108. -- low flags: 00
  109. -- high flags: 8000
  110. -- rect: left=64 top=98 right=151 bottom=140
  111. -- title width / last selected line: 0
  112. -- icon id / first selected line: 5175 / 5175
  113. -- text alignment: 1
  114. -- font id: 0
  115. -- text size: 12
  116. -- style flags: 0
  117. -- line height: 16
  118. -- part name: Letter to Kate
  119. ----- HyperTalk script -----
  120. on mouseDown
  121.   selectMe
  122. end mouseDown
  123.  
  124.  
  125. -- part 17 (button)
  126. -- low flags: 00
  127. -- high flags: 8000
  128. -- rect: left=145 top=99 right=149 bottom=201
  129. -- title width / last selected line: 0
  130. -- icon id / first selected line: 5175 / 5175
  131. -- text alignment: 1
  132. -- font id: 0
  133. -- text size: 12
  134. -- style flags: 0
  135. -- line height: 16
  136. -- part name: Resume
  137. ----- HyperTalk script -----
  138. on mouseDown
  139.   selectMe
  140. end mouseDown
  141.  
  142.  
  143. -- part 18 (button)
  144. -- low flags: 00
  145. -- high flags: 8000
  146. -- rect: left=213 top=100 right=151 bottom=272
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 16344 / 16344
  149. -- text alignment: 1
  150. -- font id: 0
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: Logo
  155. ----- HyperTalk script -----
  156. on mouseDown
  157.   selectMe
  158. end mouseDown
  159.  
  160.  
  161. -- part 30 (field)
  162. -- low flags: 81
  163. -- high flags: 2004
  164. -- rect: left=219 top=161 right=218 bottom=406
  165. -- title width / last selected line: 0
  166. -- icon id / first selected line: 0 / 0
  167. -- text alignment: 0
  168. -- font id: 241
  169. -- text size: 14
  170. -- style flags: 0
  171. -- line height: 14
  172. -- part name: errorMsg
  173.  
  174.  
  175. -- part 31 (field)
  176. -- low flags: 81
  177. -- high flags: 2004
  178. -- rect: left=258 top=94 right=174 bottom=410
  179. -- title width / last selected line: 0
  180. -- icon id / first selected line: 0 / 0
  181. -- text alignment: 0
  182. -- font id: 241
  183. -- text size: 14
  184. -- style flags: 0
  185. -- line height: 14
  186. -- part name: copyMsg
  187.  
  188.  
  189. -- part 34 (button)
  190. -- low flags: 00
  191. -- high flags: 2000
  192. -- rect: left=487 top=221 right=242 bottom=508
  193. -- title width / last selected line: 0
  194. -- icon id / first selected line: 0 / 0
  195. -- text alignment: 1
  196. -- font id: 0
  197. -- text size: 12
  198. -- style flags: 0
  199. -- line height: 16
  200. -- part name: Up
  201. ----- HyperTalk script -----
  202. on mouseUp
  203.   goUp
  204. end mouseUp
  205.  
  206.  
  207. -- part 37 (button)
  208. -- low flags: 00
  209. -- high flags: 4001
  210. -- rect: left=483 top=299 right=341 bottom=512
  211. -- title width / last selected line: 0
  212. -- icon id / first selected line: 0 / 0
  213. -- text alignment: 1
  214. -- font id: 0
  215. -- text size: 12
  216. -- style flags: 0
  217. -- line height: 16
  218. -- part name: noNext
  219.  
  220.  
  221. -- part contents for background part 5
  222. ----- text -----
  223. You want to backup all three files on the Documents disk, so select them all. To select more than one file, hold down the shift key as you click on a new file. Drag the files to the backup disk. 
  224.  
  225. -- part contents for background part 6
  226. ----- text -----
  227. [0]
  228. You want to backup all three files on the Documents disk, so select them all. To select more than one file, hold down the shift key as you click on a new file. Drag the files to the backup disk. 
  229. [1]
  230. A status window indicates that the files are being copied. 
  231. [2] (If the backup disk were to contain a file of the same type and name as the source disk, there would appear a dialog box asking if you wanted to replace an existing file. To update the backup copy with the current version of a file, you would click ‚ÄúOK‚Äù in the dialog box. To retain both files as a separate file, click on ‚ÄúCancel‚Äù in the dialog box and rename one of the files.)
  232. [2] Click on the up arrow to return to the menus. 
  233. [3]
  234.  
  235. -- part contents for card part 30
  236. ----- text -----
  237. Remember to select all three and copy them over to the Backup Disk as a group.
  238.  
  239. -- part contents for card part 31
  240. ----- text -----
  241. It is easiest to copy all of the files at once. Use the shift key and the mouse to select all of them.
  242.  
  243. -- part contents for background part 9
  244. ----- text -----
  245. Letter to Kate,Resume,Logo